<?php
    // 为方便并保证您以后的快速升级 请使用SHL提供的如下全局数组
	
	// 数组定义/config/wjsw-global.php
	
	// 如有需要， 请去掉注释，输出数据。
	/*
	echo '<pre>';
		print_r($tag);
	echo '</pre>';
	*/
?>
<style type="text/css">
.xszp{ margin-top:20px; padding:0 1%; overflow:hidden;}
.xszp ul li{ width:49%; margin:0.5% 0.5%; float:left;}
.xszp ul li img{ width:100%;}
.gd_1{ display:block; width:100%; background:#ff842a; padding:10px 0; text-align:center; font-size:16px; font-weight:bold; color:#fff; margin-top:4px;}
.span11111 a{ display:block; font-size:16px; font-weight:normal; margin:10px 0; text-align:center;}
</style>
<div class="picmain">
  <div id="piclist">
    <ul>
<?php
if( !empty( $tag['data.results'] ) )
{
	foreach($tag['data.results'] as $k =>$data)
	{
	?>
      <li> 
	  <a class="colorbox" href="<?php echo sys_href($data['channelId'],'picture',$data['id'])?>" title="<?php echo $data['title'];?>" ><img src="<?php echo $data['originalPic']; ?>" alt="<?php echo $data['title'];?>"/></a>
      <span class="span11111"><a href="<?php echo sys_href($data['channelId'],'picture',$data['id'])?>"><?php echo $data['title']; ?></a></span>
      </li>
      
      
      <?php
	}
}
else
{
	echo '暂无图片。';
}
?>
    </ul>
    <div class="clear"></div>
    <div id="articeBottom">
      <?php if($tag['pager.cn']) echo $tag['pager.cn']; ?>
    </div>
  </div>
</div>
